//
//  UISegmentedControl_Custom.h
//  ASI
//
//  Created by Shi Zijie on 12-3-12.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol UISegmentedControl_CustomDelegate <NSObject>

- (void)UISegmentedControlEventValueChanged:(NSInteger) index;

@end

@interface UISegmentedControl_Custom : UIView
{
    UIButton* firstButton;
    UIButton* secondButton;
    
    NSInteger selectIndex;
    
    id<UISegmentedControl_CustomDelegate> delegate;
}

@property (nonatomic,assign)id<UISegmentedControl_CustomDelegate> delegate;

@end
